<ion-view view-title="signin" cache-view="false">
    <ion-content>
        <div class="padding">
            <h4>Login to CAEE account</h4>
        </div>
        <div class="list">
            <label class="item item-input">
                <span class="input-label">email</span>
                <input type="text" ng-model="user.email">
            </label>
            <label class="item item-input">
                <span class="input-label">password</span>
                <input type="password" ng-model="user.password">
            </label>
        </div>
        <div class="padding">
            <button class="button button-block button-positive button-theme" ng-click="validateUser()" nav-clear>
                signin
            </button>
            <p class="text-center">
                <a ui-sref="signup">register an account</a>
            </p>
        </div>
    </ion-content>
</ion-view>